package com.example.demo.user.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import com.example.demo.user.entity.UTypeClassification;
import com.example.demo.user.mapper.UTypeClassificationMapper;
import com.example.demo.user.service.UTypeClassificationService;
import com.example.demo.user.vo.UTypeClassificationVo;
import com.example.demo.util.result.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 服务账号类目表; 服务实现类
 * </p>
 *
 * @author 涛
 * @since 2024-08-01
 */
@Service("uTypeClassificationService")
public class UTypeClassificationServiceImpl extends ServiceImpl<UTypeClassificationMapper, UTypeClassification> implements UTypeClassificationService {

    @Autowired
    private UTypeClassificationMapper uTypeClassificationMapper;

    @Override
    public Result<?> getAccountCollectionList(Page<UTypeClassificationVo> page, Integer id) {
        return Result.ok(uTypeClassificationMapper.getAccountCollectionList(page,id));
    }
}
